#ifndef SQUARE_H
#define SQUARE_H

#include <GL/glew.h>
#include <vector>


class Square {
  public:
    Square();

    void texture(unsigned int unite,GLuint id);

    void initBuffer();
    void drawBuffer();

    virtual ~Square();
  protected:
  private:

  GLuint _bufferVertex;
  GLuint _bufferColor;
  GLuint _bufferNormal;

  std::vector<GLuint> _bufferTexture;  // identifiant sur les coordonnées
  std::vector<GLuint> _bufferTexCoord; // identifiants sur les textures

};

#endif // SQUARE_H
